package com.tansun.easycare.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@ConfigurationProperties(prefix="txadvice")
@Validated
@Component
public class TxAdviceProperties {
	
	private    String  requiredMethod ;

	private    String  readOnlyMethod ;

	private   String  expression;
	


	public String getExpression() {
		return expression;
	}


	public void setExpression(String expression) {
		this.expression = expression;
	}


	public String getRequiredMethod() {
		return requiredMethod;
	}


	public void setRequiredMethod(String requiredMethod) {
		this.requiredMethod = requiredMethod;
	}


	public String getReadOnlyMethod() {
		return readOnlyMethod;
	}


	public void setReadOnlyMethod(String readOnlyMethod) {
		this.readOnlyMethod = readOnlyMethod;
	}


	


}
